<template>
<div class="hello">
	<ul>
		<li v-for="item in list">{{item.title}}</li>
	</ul>
</div>
</template>

<script>
import Vue from 'vue';
export default {
	name: 'hello',
	data() {
		return {
			list: []
		}
	},
	created() {
		this.axios.get('/api/api/article').then(res => {
			this.list = res.data.article;
		})

	}
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>
